
<%--
    Document   : alum_AulaVirtualContenidosInd
    Created on : 07/08/2008, 10:36:17 AM
    Author     : Cabrera Abanto Alan
--%>
<%@ page import="java.util.ArrayList" %>
<%@ page import="java.util.Vector" %>
<%@page session="true" %>
<%@ page errorPage="../../error.jsp?from=horario_alumno.jsp" %>
<%@page contentType="text/html" pageEncoding="UTF-8"%>
<%@ page import="java.util.Vector" %>
<%@ page import="agb.Modelo.Utilidades" %>
<%@ page import="agb.Modelo.Alumno" %>
<%@page session="true" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">

<html>
    <head>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
   "http://www.w3.org/TR/html4/loose.dtd">


        <%Utilidades oUtilidad = new Utilidades();
    Alumno oAlumno = new Alumno();
    int cod = (Integer)session.getAttribute("codigo");
    oUtilidad = Utilidades.GradoSeccionAlumno(cod);
    oAlumno = Alumno.NombreParienteSegunCodigoAlumno(cod);
%>

        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <link href="/SistemaWebAGB_2.0/dinamica/css/admin_1.css" rel="stylesheet" type="text/css" />
        <link href="/SistemaWebAGB_2.0/dinamica/css/alumno.css" rel="stylesheet" type="text/css" />
		<link href="/SistemaWebAGB_2.0/dinamica/css/style.css" rel="stylesheet" type="text/css" />
        <title>Informacion del alumno</title>

        <script language="JavaScript">
            function validarDatos() {
                alumno = document.frmBuscar.cboAlumno;
                if (alumno.selectedIndex == 0) {
                    alert("Debe seleccionar a un alumno de la lista despegable.");
                    alumno.focus();
                    return false;
                } else {
                    return true;
                }
            }

           
            function imprimir() {
                window.parent.frames[5].focus();
                window.print();
            }

        </script>
        <style type="text/css">
<!--
.style1 {color: #FFFFFF}
-->
        </style>
</head>

    <body>
        <input type=button value="Imprimir" onClick="imprimir()" />
        <br/>
        <br>
            <table width="100%" border="0" cellpadding="0" cellspacing="0">
            <tr>
                <td rowspan="2" align="center"><img src="dinamica/img/logo.jpg" width="50" height="50"></td>
                <td align="center" valign="bottom"><font face="arial" size="5"><b>I.E. ALEXANDER GRAHAM BELL</b></font></td>
            </tr>
            <tr>
                <td align="center" valign="top"><font face="arial" size="4"><b>Informacion Del Alumno</b></font></td>
                
            </tr>
           
        </table>
         <br>
                            <table width="85%"  cellpadding="2" cellspacing="0" id="tabla" align="center">
                                 <tr>
                               <td  align="center" colspan="3" class="titulo" >Alumno: &nbsp;   </td>

                                <td width="15%" align="center" colspan="3" class="contenido"><%=oUtilidad.getNombreAlumno() %>&nbsp;   </td>

                            </tr>
                          <tr>
                               <td width="15%" align="center" colspan="3" class="titulo" >Nivel: &nbsp;   </td>

                                <td width="15%" align="center" colspan="3" ><%=oUtilidad.getNivel() %>&nbsp;   </td>

                            </tr>

                            <tr>
                               <td width="15%" align="center"  class="titulo">Grado: &nbsp;   </td>
                                <td width="15%" align="center" > <%=oUtilidad.getGrado() %>&nbsp;   </td>
                                <td width="15%" align="center" class="titulo" >Secci&oacute;n&nbsp;   </td>
                                <td width="15%" align="center" > <%=oUtilidad.getSeccion() %>&nbsp;   </td> 
                                <td width="15%" align="center" class="titulo" >A&ntilde;o: &nbsp;   </td>
                                <td width="15%" align="center" > <%=oUtilidad.getAnioMatriculas() %>&nbsp;   </td>
                            </tr>
                            <%
                            if(oAlumno.getNombreCompleto()==null || oAlumno.getNombreCompleto().length()<=1){%>
                             <tr>
                               <td width="15%" align="center" colspan="6" class="cabecera"> Alumno No Tiene Registrado Informacion de Parientes&nbsp;   </td>

                            </tr>

                            <%
                            }else{
                            %>
                           

                             <tr>
                               <td width="15%" align="center" colspan="3" class="titulo">Apoderado: &nbsp;   </td>

                                <td width="15%" align="center" colspan="3" class="contenido"><%=oAlumno.getNombreCompleto() %>&nbsp;   </td>

                            </tr>
                            <tr>
                               <td width="15%" align="center" colspan="3" class="titulo">Parentesco: &nbsp;   </td>

                                <td width="15%" align="center" colspan="3"><%=oAlumno.getParentesco() %>&nbsp;   </td>

                            </tr>
                          <tr>
                               <td width="15%" align="center" colspan="3" class="titulo">Telefono: &nbsp;   </td>

                                <td width="15%" align="center" colspan="3"><%=oAlumno.getTelefono() %>&nbsp;   </td>

                            </tr>
                             <tr>
                               <td width="15%" align="center" colspan="3" class="titulo">Direccion: &nbsp;   </td>

                                <td width="15%" align="center" colspan="3"><%=oAlumno.getLugar() + ": " + oAlumno.getDireccion() %>&nbsp;   </td>

                            </tr>
                             <tr>
                               <td width="15%" align="center" class="titulo">Distrito: &nbsp;   </td>
                                <td width="15%" align="center"><%=oAlumno.getDistrito() %> &nbsp;   </td>
                                <td width="15%" align="center" class="titulo">Provincia&nbsp;   </td>
                                <td width="15%" align="center"> <%=oAlumno.getProvincia() %>&nbsp;   </td>
                                <td width="15%" align="center" class="titulo">Departamento: &nbsp;   </td>
                                <td width="15%" align="center"> <%=oAlumno.getDepartamento() %>&nbsp;   </td>
                            </tr>
                              <%}%>
                        </table>
                        <br/>
                                <table width="100%" border="0" cellpadding="0" cellspacing="0">
            <tr>
                <td width="8%" height="2">&nbsp;</td>
                <td width="92%" align="left"><a href="javascript:window.history.back()">Retornar</a>&nbsp;</td>
            </tr>
            <tr>
                <td>&nbsp;</td>
                <td>&nbsp;</td>
            </tr>
        </table>
    </body>
</html>
